---
page_title: "cloudflare_email_routing_catch_all Resource - Cloudflare"
subcategory: ""
description: |-
  Provides a resource for managing Email Routing Addresses catch all behaviour.
---

# cloudflare_email_routing_catch_all (Resource)

Provides a resource for managing Email Routing Addresses catch all behaviour.

## Example Usage

```terraform
resource "cloudflare_email_routing_catch_all" "example" {
  zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
  name    = "example catch all"
  enabled = true

  matcher {
    type = "all"
  }

  action {
    type  = "forward"
    value = ["destinationaddress@example.net"]
  }
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `action` (Block Set, Min: 1) List actions patterns. (see [below for nested schema](#nestedblock--action))
- `matcher` (Block Set, Min: 1) Matching patterns to forward to your actions. (see [below for nested schema](#nestedblock--matcher))
- `name` (String) Routing rule name.
- `zone_id` (String) The zone identifier to target for the resource.

### Optional

- `enabled` (Boolean) Routing rule status.

### Read-Only

- `id` (String) The ID of this resource.
- `tag` (String) Routing rule identifier.

<a id="nestedblock--action"></a>
### Nested Schema for `action`

Required:

- `type` (String) Type of supported action. Available values: `drop`, `forward`, `worker`.
- `value` (List of String) A list with items in the following form.


<a id="nestedblock--matcher"></a>
### Nested Schema for `matcher`

Required:

- `type` (String) Type of matcher. Available values: `all`.


